package fem2.material.cohesive_law;

/**
 * Sancho exponential cohesive law
 * 
 * @author hbui
 * 
 */
public class Mode1SanchoExponentialCohesiveLawImplex extends Mode1SanchoCohesiveLawImplex {

	public Mode1SanchoExponentialCohesiveLawImplex(double Gf, double ft) {
		super(Gf, ft);
	}

	@Override
	protected double computeSofteningLaw(double x) {
		return ft * Math.exp(-x * ft / Gf);
	}

	@Override
	protected double computeSofteningLawDerivative(double x) {
		double f = computeSofteningLaw(x);
		return -(ft / Gf) * f;
	}

}
